package com.relife.core.socket;

import java.util.Map;

import org.apache.log4j.Logger;
import org.springframework.http.server.ServerHttpRequest;
import org.springframework.http.server.ServerHttpResponse;
import org.springframework.web.socket.WebSocketHandler;
import org.springframework.web.socket.server.HandshakeInterceptor;

public class MisHandshakeInterceptor implements HandshakeInterceptor {
	private static final Logger log = Logger.getLogger("MisHandshakeInterceptor");


	public void afterHandshake(ServerHttpRequest req, ServerHttpResponse res, WebSocketHandler handler, Exception e) {
		log.info("");

	}


	public boolean beforeHandshake(ServerHttpRequest req, ServerHttpResponse res, WebSocketHandler handler, Map<String, Object> map) throws Exception {
		return true;
	}

}
